package com.example.biz.AppInfo;

import com.example.dao.AppInfoMapper;
import com.example.pojo.AppCategory;
import com.example.pojo.AppInfo;

import com.example.pojo.DataDictionary;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class IAppInfobizImpl implements AppInfobiz{
    @Resource
    private AppInfoMapper mapper;

    @Override
    public List<AppInfo> page() {


        return mapper.findAppInfo();
    }

    @Override
    public List<AppInfo> findUserId(AppInfo appInfo) {
        return mapper.findUserId(appInfo);
    }

    @Override
    public List<AppInfo> findAppInfoMo(AppInfo appInfo) {
        return mapper.findAppInfoMo(appInfo);
    }

    @Override
    public void findAppInfoDele(Integer id) {
        mapper.findAppInfoDele(id);
    }

    @Override
    public void findAppInfoAdd(AppInfo appInfo) {
        mapper.findAppInfoAdd(appInfo);
    }

    @Override
    public List<DataDictionary> findAppCateId() {
        return mapper.findAppCateId();
    }

    @Override
    public void findAppInfoUpdate(AppInfo appInfo) {
        mapper.findAppInfoUpdate(appInfo);
    }

    @Override
    public AppInfo findId(Integer id) {
        return mapper.findId(id);
    }

    @Override
    public void findStatus(Integer status,Integer id) {
        mapper.findStatus(status,id);
    }

    @Override
    public List<AppInfo> findLishi(Integer id) {
        return mapper.findLishi(id);
    }

    @Override
    public AppInfo findVersId(Integer id) {
        return mapper.findVersId(id);
    }
}
